package com.bdqn.service;

import com.bdqn.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;
public interface UserService {

    public User login(String usrName, String usrPassword);

    //添加信息
    public int addUser(User user);

    //删除信息
    public int deleteUser(Long usrId);

    //修改信息
    public int updateUser(User user);

    //用id查询信息
    public User getUser(Long usrId);

    //查询全部数据
    public List<User>findAllUsers();

}

